package org.linlinjava.litemall.db.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("litemall_user_member_freeze")
@Data
@ApiModel(description = "会员冻结记录")
public class UserMemberFreeze {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField("user_id")
    @ApiModelProperty(value = "用户id")
    private Integer userId;


    @TableField("member_id")
    @ApiModelProperty(value = "会员id")
    private Integer memberId;

    @TableField("create_date")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @TableField("freeze_days")
    @ApiModelProperty(value = "冻结天数")
    private Integer freezeDays;

    @TableField("state")
    @ApiModelProperty(value = "冻结状态  0-冻结 1解冻")
    private String state;

    @TableField("delete_status")
    @ApiModelProperty(value = "删除状态(0 未删除 1 -删除)")
    @TableLogic(value = "0", delval = "1")
    private String deleteStatus;

}
